// Copyright 2012, Jun Chen .All rights reserved.
//
// Use of this source code is governed by a BSD-Style license that can be
// found in the License fule.
//
// Author: cpp.cheen at gmail dot com.


#ifndef SOCKET_OPTIONS_H
#define SOCKET_OPTIONS_H


#include    "pch_files.h"

class socket_options
{
    public:

        static  x_int32     set_blocking(x_fd fd);
        static  x_int32     set_nonblocking(x_fd fd);
        static  x_int32     set_tcp_no_delay(x_fd fd);
        static  x_int32     set_read_buff_size(x_fd fd,x_int32 size);
        static  x_int32     set_write_buff_size(x_fd fd,x_int32 size);

    protected:
    private:
};

#endif // SOCKET_OPTIONS_H
